package com.aaa.mapper;

import com.aaa.entity.AuthUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * @ClassName: BackUserMapper
 * @Description: TODO
 * @Author: 86139
 * @Date: 2021/9/3 20:16
 * @Version:1.0
 **/
public interface AuthUserMapper extends BaseMapper<AuthUser> {
//   登录验证账户  匹配密码
    @Select("select * from back_user where username=#{username} and state=1")
    AuthUser findByUsername(String username);
}
